﻿namespace NetSurveillance.WebApp.Models
{
    public class AjaxResult
    {
        public bool Success { get; set; }

        public string Message { get; set; }

        public dynamic Expandos { get; set; }

        public AjaxResult(bool success, string message = null)
        {
            Success = success;
            Message = message;
        }

        public static AjaxResult TrueResult = new AjaxResult(true);
    }
}